package com.wcy.service;

import com.wcy.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wcy.entity.UserRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴传亿
 * @since 2025-04-29
 */
public interface IPermissionService extends IService<Permission> {
    List<Permission> getPermissionByRoleId(Integer roleId);

    List<String> getPermissionsByRoleList(List<UserRole> userRoleList);
}
